top_list = [
    "MVT 设计模式-流程图","MVC 设计模式-流程图","Django特点","1. wsgi协议","1. django创建项目--创建应用--配置路由-创建视图函数",
                "1. 前后端交互流程--流程图","1. 就业三大能力---总结","1. HTTP和HTTPS 协议区别","1. TCP的三次握手 和四次挥手","1. 请求报文和响应报文",
                "C/S B/S","十个常用状态码","静态资源和动态资源","ORM框架原理","ORM模型类创建-迁移表","修改表名和str的作用","创建超级管理员用户",
                "注册admin的模型类","Model-查询数据","Template-渲染model数据","常见的4种请求数据","解析查询参数","解析路径参数","请求头参数解析",
                "请求体-表单参数解析","请求体-非表单参数解析","HttpResponse响应","JsonResponse应用",
"Django--DRF  视图结构",
    "CRUD 功能流程",
    "序列化器关联的区别",
    "自定义关联序列化器",
    "模型序列化器的关联反序列化操作","APIView的特性","GenericAPIView的特性","ViewSet的属性","GenericViewSet的特性","ModelViewSet的五大扩展类",
"一对一操作和关系","多对多的关系和操作","HTTP协议","django概述","django设计模式","模板·视图","ORM概述和操作","前后端分离和不分离","restful风格","接口文档","DRF框架","Django和DRF对比","序列化和反序列化","序列化器","跨域问题以及跨域配置","序列化操作","反序列化操作","定义序列化器","Modelserializer使用以及其他属性","序列化关联的使用",
"请求头参数解析","请求体-表单参数解析","请求体-非表单参数解析","HttpResponse响应","JsonResponse应用","CBV类视图、FBV视图函数","路由转换器","总路由，子路由","cookie状态保持","cookie操作","Session的特点及作用","Session的流程","CSRF攻击模拟实现","Session与Cookie的对比","orm字段的类型","多表之间的关系","简述F和Q查询","查询集QuerySet的特点","ORM基本查询的条件表达式","manage-shell操作",

]

world_list = ["connect", "random", "length", "method", "successfully", "Response",
                  "ForeignKey", "counter", "Create", "split", "Weather", "query", "method", "disposition", "render"
                                                                                                           "exclude",
                  "template", "message", "register", "filter","hero","try","filter","import","database","settings","count","random","break","function","process","framework","choices","before","after","block","border","buttons","call","bit","restful","serializer","receive","state","format","error","pop","ForeignKey","save","host","token","request","message","secret","context","sessionid","expiry","expired","CharField","choices","salt","module","shortcut","include","dispatch","wrapper","content","zone","time"
              ]

if __name__ == '__main__':
    import random
    subject = random.sample(top_list, 4)
    word = random.sample(world_list,10)

    print("英语单词：", word)
    print("面试题：", subject)
